package cn.example.vip.mall.goods.service.impl;

import cn.example.vip.mall.goods.entity.SkuAttribute;
import cn.example.vip.mall.goods.mapper.SkuAttributeMapper;
import cn.example.vip.mall.goods.service.SkuAttributeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SkuAttributeServiceImpl extends ServiceImpl<SkuAttributeMapper, SkuAttribute> implements SkuAttributeService {
	
	@Autowired
	private SkuAttributeMapper skuAttributeMapper;
	
	@Override
	public List<SkuAttribute> queryList(Integer categoryId) {
		return skuAttributeMapper.queryByCategoryId(categoryId);
	}
}
